class HitchRecordReq{
  final String? productSn;

  final String? deviceId;

  final String? firmware;

  final String? hardware;

  final String? detectionData;

  final String? deviceType;

  HitchRecordReq({required this.productSn, required this.deviceId, required this.firmware, required this.hardware, required this.detectionData, required this.deviceType});

  Map<String, dynamic> toMap() {
    return {
      'productSn': productSn,
      'deviceId': deviceId,
      'firmware': firmware,
      'hardware': hardware,
      'detectionData': detectionData,
      'deviceType': deviceType,
    };
  }
}